package com.rr.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.autoconfigure.amqp.RabbitProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;

/**
 * @author zhengshaobiao
 * @description hwy mq配置
 **/
@Configuration
@ConfigurationProperties( prefix = "spring.hwy-rabbitmq")
@Getter
@Setter
public class HwyRabbitProperties{
//    public class HwyRabbitProperties extends RabbitProperties {
    private String host;
    private Integer port;
    private String username;
    private String password;
    private String virtualHost;
}
